import React from 'react'
import { Swiper ,Tabs} from 'react-vant';
import "../../style/home.css"
export default function Index() {
    return (
        <div>
    <Swiper className="my-swipe" autoplay={3000}>
      <Swiper.Item>1</Swiper.Item>
      <Swiper.Item>2</Swiper.Item>
      <Swiper.Item>3</Swiper.Item>
      <Swiper.Item>4</Swiper.Item>
    </Swiper>
    <Tabs active={0}>
      {[1, 2, 3].map((item) => (
        <Tabs.TabPane key={item} title={`标签${item}`}>
          内容 {item}
        </Tabs.TabPane>
      ))}
    </Tabs>
        </div>
    )
}
